auth-service v10 and wallet-service changes. - #44
Open
grvgoel81 wants to merge 27 commits into
Open
Conversation
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
…other input params Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
9 tasks
Signed-off-by: Gaurav Goel <gaurav@tor.us>
…s_input_changes' into feat/auth_service_v10_change_plus_input_changes
…anges Resolve conflicts by keeping auth-service v10 API changes while preserving master bug fixes for clientId resolution and session parsing. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 6 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b08607a. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation and Context
Bring the Unity SDK in line with Auth Service v10 / Wallet Services v5, including updated project config and login option shapes. Also fix Android Custom Tab deep-link return and Editor/Android session authorize so login, logout, and session restore work reliably.
Jira: https://toruslabs.atlassian.net/browse/PD-4518, https://toruslabs.atlassian.net/browse/PD-4552
Description
authConnection/authConnectionConfig, build env, related options)/api/v2/configuration) and merge dashboardembeddedWalletAuth/ whitelist into options{key, namespace}, use URI-origin without path (and preserve custom-scheme host casing)Web3AuthActivity+ manifest deep-link handling fortorusapp://Custom Tab redirectsHow has this been tested?
Screenshots (if appropriate):
Screen.Recording.2026-08-13.at.2.43.49.PM.mov
Screen.Recording.2026-08-13.at.4.58.01.PM.mov
Types of changes
Checklist:
Note
High Risk
Large breaking API and auth/wallet integration changes affect login, session restore, dapp-share keys, and chain selection for all integrators; misconfiguration could break production apps until migrated.
Overview
Updates the Unity Web3Auth SDK for auth-service v10 and wallet-service v5, with a broad breaking rename from verifier/provider login to auth connections.
Configuration & API: Project config is fetched from
/api/v2/configurationwithbuild_env; the response model adds chains, smart accounts, wallet UI, and embedded-wallet auth. Init options useauthConnectionConfig(replacingloginConfig),authBuildEnv,web3AuthNetwork,defaultChainId, anduseSFAKey(replacinguseCoreKitKey).Provider/TypeOfLoginare removed in favor ofAuthConnection;LoginConfigItembecomesAuthConnectionConfigwithauthConnectionId.Wallet & signing:
launchWalletServices(ChainConfig)is replaced byshowWalletUI, andrequestno longer takes per-call chain config—chains,embeddedWalletAuth, andsmartAccountsare injected from cached project config. Auth/wallet base URLs point at v10 / v5.Public surface:
LoginParamsusesauthConnection(notloginProvider);UserInfousesauthConnectionId/userId; keys are exposed viagetPrivateKey/getEd25519PrivateKeywith JSON-mappedprivateKeyon the response. The sample app is updated to match.Reviewed by Cursor Bugbot for commit b08607a. Configure here.